import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/login',
    component: () => import('./views/Login')
  },
  {
    path: '/login/register',
    component: () => import('./views/Register')
  },
  {
    path: '/login/retrieve',
    component: () => import('./views/Retrieve')
  },
  {
    path: '/login/retrieve/new_password',
    component: () => import('./views/NewPassword')
  },
  {
    path: '/login/retrieve/return_login',
    component: () => import('./views/ReturnLogin')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router